package top.infopub.mgr.cap.service.impl;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.infopub.mgr.cap.dao.FinancingContractDao;
import top.infopub.mgr.cap.domain.ContractDomain;
import top.infopub.mgr.cap.domain.FinancingDomain;
import top.infopub.mgr.cap.service.FinancingContractService;
import top.infopub.mgr.cap.vo.LookInfoBeginVo;

@Service
public class FinancingContractServiceImpl implements FinancingContractService {
    @Autowired
    private FinancingContractDao financingContractDao;
    @Override
    public Page<ContractDomain> selectFinByDomainWhere(Page<ContractDomain> page, LookInfoBeginVo lookInfoBeginVo) {
        PageHelper.startPage(page.getPageNum(), page.getPageSize());
        return (Page<ContractDomain>)financingContractDao.selectFinByDomainWhere(lookInfoBeginVo);

    }
}
